package com;

import java.sql.ResultSet;
import java.sql.SQLException;

public class JournalVoucherBean 
{
		private String jentrynum,jdate,jacc,jacc2,jnar;
		private double jamt,jamt2;
		
		public String getJournalEntryNumber()
		{
			return jentrynum;
		}
		public void setJournalEntryNumber(String jentrynum)
		{
			this.jentrynum=jentrynum;
		}
		
		public String getJournalDate()
		{
			return jdate;
		}
		public void setJournalDate(String jdate)
		{
			this.jdate=jdate;
		}

		public String getJournalAccount()
		{
			return jacc;
		}
		public void setJournalAccount(String jacc)
		{
			this.jacc=jacc;
		}

		public double getJournalAmount()
		{
			return jamt;
		}
		public void setJournalAmount(double jamt2)
		{
			this.jamt=jamt2;
		}

		public String getJournalAccount2()
		{
			return jacc2;
		}
		public void setJournalAccount2(String jacc2)
		{
			this.jacc2=jacc2;
		}

		public double getJournalAmount2()
		{
			return jamt2;
		}
		public void setJournalAmount2(double jamt2)
		{
			this.jamt2=jamt2;
		}

		public String getJournalNarration()
		{
			return jnar;
		}
		public void setJournalNarration(String jnar)
		{
			this.jnar=jnar;
		}
		
		
/*		   public JournalVoucherBean (ResultSet rs) throws SQLException
		   {
		        this.jentrynum = rs.getString("jname");
		        this.jdate= rs.getString("date");
		        this.jacc= rs.getString("jaccdeb");
		        this.jamt= rs.getDouble("jamount1");
		        this.jacc2 = rs.getString("jacccred");
		        this.jamt2= rs.getDouble("jamount2");
		        this.jnar= rs.getString("jnar");
		   }
		   */
}
